import express from "express";
import base from "./src/routes.js";
import config from "./config.js";

const app = express();

app.use(base);

app.listen(config.port, () =>
  console.log(`Server started on port: ${config.port}`)
);
